/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package system;

/**
 *
 * @author user
 */
public class Test {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        //String s = "\"Saya\" 'rezan'";
        //System.out.println(s.replaceAll("'", "").replaceAll("\\\"", ""));
        
        StringBuilder subject = new StringBuilder();
        StringBuilder message = new StringBuilder();

        subject.append("Tes Email Spam");
        message.append("Halo ganteng...");

        System.out.println("Tes kirim email ngejunk...");
        MailServer.sendEmail("billgates@microsoft.com", new String[]{"tes@yahoo.com"}, new String[]{}, subject.toString(), message.toString());
    }
}
